@import './base.css';

/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 移除App的默认样式冲突 */
#app {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  font-weight: normal;
}

/* 通用页面容器样式 */
.page-container {
  width: 100%;
  min-height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background: transparent;
}

/* 通用卡片样式 */
.page-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

/* 通用页面标题 */
.page-title {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

/* 通用内容区域 */
.page-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Element Plus 组件全局样式覆盖 */
.el-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.el-card__header {
  border-bottom: 1px solid #f0f0f0;
  padding: 20px;
  font-weight: 600;
  font-size: 16px;
  color: #2c3e50;
}

.el-card__body {
  padding: 20px;
}

/* 表格样式 */
.el-table {
  border-radius: 12px;
  overflow: hidden;
}

.el-table th {
  background-color: #f8f9fa;
  color: #2c3e50;
  font-weight: 600;
}

/* 按钮样式 */
.el-button {
  border-radius: 8px;
  font-weight: 500;
}

/* 进度条样式 */
.el-progress-bar__outer {
  background-color: #ecf0f1;
  border-radius: 6px;
}

.el-progress-bar__inner {
  border-radius: 6px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-container {
    padding: 15px;
  }
  
  .page-title {
    font-size: 24px;
  }
}
